
.middle > div {
    border: 1px solid red;
}

.middle > div > div:nth-child(2) {
    padding: 10px;
    overflow: hidden;
}

.middle > div > div:nth-child(2) > div:nth-child(1) > div {
    text-indent: 3em;
    margin: 20px 0;
    line-height: 30px;
}

.middle > div > div:nth-child(2) > div:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;

    animation: mymove 5s linear infinite alternate;
}

@keyframes mymove {
    from {
        margin-left: -3000px;
    }
    to {
        margin-left: 0;
    }
}
.middle > div > div:nth-child(2) > div:nth-child(2) img{
    margin-right: 20px;
}